package imooc.user.repository;

import imooc.user.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Jiayuan
 * @version 1.0
 * @description:
 * @time 11/8/2018 9:25 PM
 */
public interface UserInfoRepository extends JpaRepository<UserInfo, String> {

    UserInfo findByOpenid(String openId);

}
